﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SMS.util
{
    public class DateUtil
    {

        public static int getAge(DateTime dob)
        {
            return DateTime.Now.Year - dob.Year;
        }
    }
}
